export const MenuList = []

export interface MButton {
    icon: string;
    title: string;
    value: string | number;
}

export interface Result<T> {
    code: number;
    msg: string;
    data: T;
}

export interface SearchPage<T> {
    page: number;
    pageSize: string;
}

export interface PageResult<T> {
    total: number;
    items: T[];
}

export interface UpdateBy<T, D> {
    from: T;
    target: D;
}

export interface SearchById {
    id: number;
    ids: number[];
    item_ids: number[];
}